package com.ay.weixin.fdc.boss.kanfang.domain;

import java.util.Date;

import com.ay.weixin.config.types.KanFangStatus;

public class KanFang {

	private long id;
	
	private String name;
	
	private float commission;
	
	private float visit_paid;
	
	private Date create_time;
	
	private String sex;
	
	private String contact;
	
	private String gohousedate;
	
	private Date birthday;
	
	private String buyexper;
	
	private long salesman;
	
	private int status;
	
	private int progress;
	
	private int type;
	
	private long recommend_user;
	
	private long project_id;
	
	private long wxproject_id;
	
	private String remark;
	
	private String remark_append;
	
	private Date update_date;
	
	private int on_visit_paid;
	
	private int recommend_paid;
	
	public static final int STATUS_NONE=-1;
	
	public static final int ON_VISIT_PAID=1;
	
	public static final int ON_VISIT_NOT_PAID=0;
	
	public static final int RECOMMEND_PAID=1;
	
	public static final int RECOMMEND_NOT_PAID=0;
	
	
	//public static final int FINISHED=1;
	
	//public static final int NOT_FINISHED=0;

	
	
	public long getId() {
		return id;
	}

	public long getWxproject_id() {
		return wxproject_id;
	}

	public void setWxproject_id(long wxproject_id) {
		this.wxproject_id = wxproject_id;
	}

	public Date getCreate_time() {
		return create_time;
	}
	
	public String getCreate_time_str() {
		if(create_time!=null)return create_time.toLocaleString();
		return "";
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public void setId(long id) {
		this.id = id;
	}

	public float getCommission() {
		return commission;
	}

	public void setCommission(float commission) {
		this.commission = commission;
	}

	public float getVisit_paid() {
		return visit_paid;
	}

	public void setVisit_paid(float visit_paid) {
		this.visit_paid = visit_paid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}


	public long getSalesman() {
		return salesman;
	}

	public void setSalesman(long salesman) {
		this.salesman = salesman;
	}

	public String getGohousedate() {
		return gohousedate;
	}

	public void setGohousedate(String gohousedate) {
		this.gohousedate = gohousedate;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getBuyexper() {
		return buyexper;
	}

	public void setBuyexper(String buyexper) {
		this.buyexper = buyexper;
	}

	public int getStatus() {
		return status;
	}
	
	public String getStatusDesc() {
		if(status==-1){
			return "联络中";
		}
		return KanFangStatus.getDesc(status);
	}

	public void setStatus(int status) {
		this.status = status;
	}


	
	
	public int getProgress() {
		return progress;
	}

	public void setProgress(int progress) {
		this.progress = progress;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}



	public long getRecommend_user() {
		return recommend_user;
	}

	public void setRecommend_user(long recommend_user) {
		this.recommend_user = recommend_user;
	}

	public long getProject_id() {
		return project_id;
	}

	public void setProject_id(long project_id) {
		this.project_id = project_id;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getUpdate_date() {
		return update_date;
	}

	public void setUpdate_date(Date update_date) {
		this.update_date = update_date;
	}
	
	public String getRemark_append() {
		return remark_append;
	}

	public void setRemark_append(String remark_append) {
		this.remark_append = remark_append;
	}
	
	

	public int getOn_visit_paid() {
		return on_visit_paid;
	}

	public void setOn_visit_paid(int on_visit_paid) {
		this.on_visit_paid = on_visit_paid;
	}

	


	public int getRecommend_paid() {
		return recommend_paid;
	}

	public void setRecommend_paid(int recommend_paid) {
		this.recommend_paid = recommend_paid;
	}




	
}
